<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of LabelElement
 *
 * @author neozilon
 */
class Nosql_View_Helper_LabelElement extends Zend_View_Helper_FormElement {

    protected $html = '';
    public function labelElement($name, $value = null, $attribs = null)
    {
        $attribsHtml = '';
        foreach($attribs as $key => $val){
            $attribsHtml .= $key . '=' . $val . ' ';
        }


        $this->html .= "<label $attribsHtml >". $value . '</label>';
        return $this->html;
    }



}